
import vueToast from  './vue-Toast';

let Toast = {};
Toast.install = function(Vue){
  Vue.component('vuetoast',vueToast);
  // Vue.prototype.$toast = function(message){
  //   const vueToastController = Vue.extend(vueToast);
  //   let dom  = document.createElement("div");
  //   document.body.append(dom);
  //   let instance = new vueToastController({}).$mount(dom);
  //   // document.body.append(dom);
  //   instance.msg = msg;
  // }
}

export default Toast;
